package org.p2psimulator.entity.protocol.messages.gnutella.bayesian;

import org.p2psimulator.entity.Id;
import org.p2psimulator.entity.Message;
import org.p2psimulator.entity.behavior.BehaviorTypes;
import org.p2psimulator.entity.protocol.messages.MessageTypes;
import org.p2psimulator.entity.reputation.gnutellabased.BayesianReputation;


public class BayesianInfo extends Message{


	BayesianReputation info;

	BayesianHandInfo hand;


	public BayesianHandInfo getHand() {
		return hand;
	}

	public void setHand(BayesianHandInfo hand) {
		this.hand = hand;
	}

	public BayesianReputation getInfo() {
		return info;
	}

	public void setInfo(BayesianReputation info) {
		this.info = info;
	}

	public BayesianInfo(Id origin, Id destination, int transactionId, BehaviorTypes originBehavior) {
		super(origin, destination, transactionId, originBehavior);
	}

	@Override
	public MessageTypes getMessageType() {
		return MessageTypes.BAYESIAN_FHI;
	}

	@Override
	public String getName() {
		return MessageTypes.BAYESIAN_FHI.getName();
	}


}
